//
//  PictureItem.swift
//  Weibo
//
//  Created by 5201-mac on 2017/4/19.
//  Copyright © 2017年 wlb-mac. All rights reserved.
//

import UIKit

class PictureItem: NSObject {
    var thumbnail_pic: String?
    
    //自定义构造函数，字典转模型
    init(dict: [String: String]) {
        super.init()
        //KVC字典转模型
        setValuesForKeys(dict)
    }
    //为了保险起见
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        //啥也不做
    }
}
